package com.qingcloud.adminbackend.entity.user;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author luozehua
 * @since 2018-11-19
 */
@Data
public class SysUserVo  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "Id")
    private String Id;
    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "姓名拼音")
    @TableField(value = "full_name_pinyin")
    private String fullNamePinyin;

    /**
     * 登录名
     */
    @ApiModelProperty(value = "登录名")
    private String userName;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private Integer gender;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String workEmail;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobileno;

    /**
     * 工作地址
     */
    @ApiModelProperty(value = "工作地址")
    private String workAddress;
    /**
     * 默认区域编号
     */
    @ApiModelProperty(value = "默认区域编号")
    private String domainId;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 1:登录中、2:退出、3:未使用、4:锁定
     */
    @ApiModelProperty(value = "0:未激活、1:登录中、2:退出、3:未使用、4:锁定")
    private String status;

    @ApiModelProperty(value = "0-不能修改登录名，1-能修改一次")
    @TableField(value = "is_default")
    private Integer isDefault;

    /**
     * N：正常；D：已经删除
     */
    @ApiModelProperty(value = "0：正常；1：已经删除")
    private String deleteFlag;

    @ApiModelProperty(value = "用户类型 1健康空气用户 2蛙鸣用户 3网格化用户")
    private Integer userType;

    @ApiModelProperty(value = "登录用户对该用户的所属客户是否有管理权限")
    @TableField(exist = false)
    private Integer orgAuth;

    @ApiModelProperty(value = "所属组织名称")
    @TableField(exist = false)
    private String orgName;

    @ApiModelProperty(value = "所属组织ID")
    @TableField(exist = false)
    private String orgId;

    @ApiModelProperty(value = "该用户是否有附加的权限")
    @TableField(exist = false)
    private Integer addAuth;

    @ApiModelProperty(value = "企业内部最高管理员 0不是 1是")
    private Integer orgAdmin;

    @ApiModelProperty(value = "是否完全管理权限 0不是 1是")
    @TableField(value = "admin_flag")
    private Integer adminFlag;

}
